home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Utils / Universal Viewer / UniversalViewer.exe / Plugins / Syn2 / HL / FoxPro.lcf < prev    next >
Encoding:
Text File  |  2007-12-12  |  10.3 KB  |  468 lines

  1. object SyntAnal13: TLibSyntAnalyzer
  2.   Formats = <
  3.     item
  4.       DisplayName = 'Default'
  5.       Font.Charset = DEFAULT_CHARSET
  6.       Font.Color = clWindowText
  7.       Font.Height = -13
  8.       Font.Name = 'Courier New'
  9.       Font.Style = []
  10.       FormatType = ftCustomFont
  11.     end
  12.     item
  13.       DisplayName = 'Symbol'
  14.       Font.Charset = DEFAULT_CHARSET
  15.       Font.Color = clMaroon
  16.       Font.Height = -13
  17.       Font.Name = 'Courier New'
  18.       Font.Style = [fsBold]
  19.     end
  20.     item
  21.       DisplayName = 'Number'
  22.       Font.Charset = DEFAULT_CHARSET
  23.       Font.Color = clNavy
  24.       Font.Height = -13
  25.       Font.Name = 'Courier New'
  26.       Font.Style = [fsBold]
  27.     end
  28.     item
  29.       DisplayName = 'String'
  30.       Font.Charset = DEFAULT_CHARSET
  31.       Font.Color = clBlue
  32.       Font.Height = -13
  33.       Font.Name = 'Courier New'
  34.       Font.Style = []
  35.     end
  36.     item
  37.       DisplayName = 'Identifier'
  38.       Font.Charset = DEFAULT_CHARSET
  39.       Font.Color = clWindowText
  40.       Font.Height = -13
  41.       Font.Name = 'Courier New'
  42.       Font.Style = []
  43.     end
  44.     item
  45.       DisplayName = 'Reserved word'
  46.       Font.Charset = DEFAULT_CHARSET
  47.       Font.Color = clWindowText
  48.       Font.Height = -13
  49.       Font.Name = 'Courier New'
  50.       Font.Style = [fsBold]
  51.     end
  52.     item
  53.       DisplayName = 'Comment'
  54.       Font.Charset = DEFAULT_CHARSET
  55.       Font.Color = clRed
  56.       Font.Height = -13
  57.       Font.Name = 'Courier New'
  58.       Font.Style = [fsBold]
  59.     end
  60.     item
  61.       DisplayName = 'Preprocessor'
  62.       Font.Charset = DEFAULT_CHARSET
  63.       Font.Color = clGreen
  64.       Font.Height = -13
  65.       Font.Name = 'Courier New'
  66.       Font.Style = [fsItalic]
  67.     end
  68.     item
  69.       DisplayName = 'Marked block'
  70.       Font.Charset = DEFAULT_CHARSET
  71.       Font.Color = clHighlightText
  72.       Font.Height = -13
  73.       Font.Name = 'Courier New'
  74.       Font.Style = []
  75.       BgColor = clHighlight
  76.       FormatType = ftColor
  77.     end>
  78.   TokenRules = <
  79.     item
  80.       DisplayName = 'Comment'
  81.       StyleName = 'Comment'
  82.       TokenType = 1
  83.       Expression = '(\*|&&).*'
  84.       ColumnFrom = 0
  85.       ColumnTo = 0
  86.     end
  87.     item
  88.       DisplayName = 'Preprocessor'
  89.       StyleName = 'Preprocessor'
  90.       TokenType = 9
  91.       Expression = '\#.*'
  92.       ColumnFrom = 0
  93.       ColumnTo = 0
  94.     end
  95.     item
  96.       DisplayName = 'String'
  97.       StyleName = 'String'
  98.       TokenType = 4
  99.       Expression = #39'.*?('#39'|$)'
  100.       ColumnFrom = 0
  101.       ColumnTo = 0
  102.     end
  103.     item
  104.       DisplayName = 'Any name'
  105.       StyleName = 'Identifier'
  106.       TokenType = 2
  107.       Expression = '[a-z_]\w*'
  108.       ColumnFrom = 0
  109.       ColumnTo = 0
  110.     end
  111.     item
  112.       DisplayName = 'Symbol'
  113.       StyleName = 'Symbol'
  114.       TokenType = 3
  115.       Expression = '[/\*,\.;:\(\)=<>\+\-\[\]&]'
  116.       ColumnFrom = 0
  117.       ColumnTo = 0
  118.     end
  119.     item
  120.       DisplayName = 'Float'
  121.       StyleName = 'Number'
  122.       TokenType = 6
  123.       Expression = '\d+ \.? \d+ e [\+\-]? \d+ |'#13#10'\d+ \. \d+'
  124.       ColumnFrom = 0
  125.       ColumnTo = 0
  126.     end
  127.     item
  128.       DisplayName = 'Integer'
  129.       StyleName = 'Number'
  130.       TokenType = 5
  131.       Expression = '\d+'
  132.       ColumnFrom = 0
  133.       ColumnTo = 0
  134.     end>
  135.   BlockRules = <
  136.     item
  137.       DisplayName = 'Key words'
  138.       StyleName = 'Reserved word'
  139.       BlockType = btTagDetect
  140.       ConditionList = <
  141.         item
  142.           TagList.Strings = (
  143.             'accept'
  144.             'activate'
  145.             'add'
  146.             'all'
  147.             'alter'
  148.             'alternate'
  149.             'ansi'
  150.             'aplabout'
  151.             'app'
  152.             'append'
  153.             'array'
  154.             'as'
  155.             'assist'
  156.             'autosave'
  157.             'average'
  158.             'bar'
  159.             'begin'
  160.             'bell'
  161.             'blank'
  162.             'blink'
  163.             'blocksize'
  164.             'border'
  165.             'box'
  166.             'browse'
  167.             'brstatus'
  168.             'build'
  169.             'calculate'
  170.             'call'
  171.             'cancel'
  172.             'carry'
  173.             'case'
  174.             'cd'
  175.             'century'
  176.             'change'
  177.             'chdir'
  178.             'class'
  179.             'classlib'
  180.             'clear'
  181.             'clock'
  182.             'close'
  183.             'collate'
  184.             'color'
  185.             'command'
  186.             'compatible'
  187.             'compile'
  188.             'confirm'
  189.             'connection'
  190.             'connections'
  191.             'console'
  192.             'continue'
  193.             'copy'
  194.             'count'
  195.             'cpcompile'
  196.             'cpdialog'
  197.             'create'
  198.             'currency'
  199.             'cursor'
  200.             'data'
  201.             'database'
  202.             'databases'
  203.             'datasession'
  204.             'date'
  205.             'deactivate'
  206.             'debug'
  207.             'decimals'
  208.             'declare'
  209.             'default'
  210.             'define'
  211.             'delete'
  212.             'deleted'
  213.             'delimiters'
  214.             'development'
  215.             'device'
  216.             'dimension'
  217.             'dir'
  218.             'directory'
  219.             'display'
  220.             'dlls'
  221.             'do'
  222.             'dohistory'
  223.             'echo'
  224.             'edit'
  225.             'eject'
  226.             'else'
  227.             'end'
  228.             'endcase'
  229.             'enddefine'
  230.             'enddo'
  231.             'endfor'
  232.             'endfunc'
  233.             'endif'
  234.             'endprintjob'
  235.             'endproc'
  236.             'endscan'
  237.             'endwith'
  238.             'erase'
  239.             'error'
  240.             'escape'
  241.             'events'
  242.             'exact'
  243.             'exclusive'
  244.             'exe'
  245.             'exit'
  246.             'export'
  247.             'extended'
  248.             'external'
  249.             'fdow'
  250.             'fields'
  251.             'file'
  252.             'filer'
  253.             'files'
  254.             'filter'
  255.             'find'
  256.             'fixed'
  257.             'flush'
  258.             'for'
  259.             'form'
  260.             'format'
  261.             'free'
  262.             'from'
  263.             'fullpath'
  264.             'function'
  265.             'fweek'
  266.             'gather'
  267.             'general'
  268.             'get'
  269.             'getexpr'
  270.             'gets'
  271.             'go'
  272.             'goto'
  273.             'headings'
  274.             'help'
  275.             'helpfilter'
  276.             'hide'
  277.             'hours'
  278.             'id'
  279.             'if'
  280.             'import'
  281.             'index'
  282.             'indexes'
  283.             'input'
  284.             'insert'
  285.             'intensity'
  286.             'join'
  287.             'key'
  288.             'keyboard'
  289.             'keycomp'
  290.             'label'
  291.             'library'
  292.             'list'
  293.             'load'
  294.             'local'
  295.             'locate'
  296.             'lock'
  297.             'logerrors'
  298.             'lparameters'
  299.             'macdesktop'
  300.             'machelp'
  301.             'mackey'
  302.             'macro'
  303.             'macros'
  304.             'margin'
  305.             'mark'
  306.             'md'
  307.             'memo'
  308.             'memory'
  309.             'memowidth'
  310.             'menu'
  311.             'menus'
  312.             'message'
  313.             'mkdir'
  314.             'modify'
  315.             'module'
  316.             'mouse'
  317.             'move'
  318.             'multilocks'
  319.             'near'
  320.             'nocptrans'
  321.             'note'
  322.             'notify'
  323.             'null'
  324.             'object'
  325.             'objects'
  326.             'odometer'
  327.             'of'
  328.             'off'
  329.             'oleobject'
  330.             'on'
  331.             'open'
  332.             'optimize'
  333.             'or'
  334.             'order'
  335.             'otherwise'
  336.             'pack'
  337.             'pad'
  338.             'page'
  339.             'palette'
  340.             'parameters'
  341.             'path'
  342.             'pdsetup'
  343.             'play'
  344.             'point'
  345.             'pop'
  346.             'popup'
  347.             'popups'
  348.             'printer'
  349.             'printjob'
  350.             'private'
  351.             'procedure'
  352.             'procedures'
  353.             'project'
  354.             'public'
  355.             'push'
  356.             'query'
  357.             'quit'
  358.             'rd'
  359.             'read'
  360.             'readborder'
  361.             'readerror'
  362.             'recall'
  363.             'refresh'
  364.             'regional'
  365.             'reindex'
  366.             'relation'
  367.             'release'
  368.             'remove'
  369.             'rename'
  370.             'replace'
  371.             'report'
  372.             'reprocess'
  373.             'resource'
  374.             'restore'
  375.             'resume'
  376.             'retry'
  377.             'return'
  378.             'rmdir'
  379.             'rollback'
  380.             'run'
  381.             'runscript'
  382.             's'
  383.             'safety'
  384.             'save'
  385.             'scan'
  386.             'scatter'
  387.             'scheme'
  388.             'scoreboard'
  389.             'screen'
  390.             'scroll'
  391.             'seconds'
  392.             'seek'
  393.             'select'
  394.             'selection'
  395.             'separator'
  396.             'set'
  397.             'shadows'
  398.             'show'
  399.             'shutdown'
  400.             'size'
  401.             'skip'
  402.             'sort'
  403.             'space'
  404.             'sql'
  405.             'status'
  406.             'step'
  407.             'sticky'
  408.             'store'
  409.             'string$'
  410.             'structure'
  411.             'sum'
  412.             'suspend'
  413.             'sysformats'
  414.             'sysmenu'
  415.             'table'
  416.             'tables'
  417.             'tag'
  418.             'talk'
  419.             'textmerge'
  420.             'to'
  421.             'topic'
  422.             'total'
  423.             'transaction'
  424.             'trbetween'
  425.             'trigger'
  426.             'type'
  427.             'typeahead'
  428.             'udfparms'
  429.             'unique'
  430.             'unlock'
  431.             'update'
  432.             'use'
  433.             'validate'
  434.             'view'
  435.             'views'
  436.             'volume'
  437.             'wait'
  438.             'while'
  439.             'window'
  440.             'windows'
  441.             'with'
  442.             'xcmdfile'
  443.             'zap'
  444.             'zoom')
  445.           TokenTypes = 4
  446.           IgnoreCase = True
  447.         end>
  448.       HighlightPos = cpAny
  449.       IgnoreAsParent = False
  450.     end>
  451.   CodeTemplates = <>
  452.   SubAnalyzers = <>
  453.   TokenTypeNames.Strings = (
  454.     'Unknown'
  455.     'Comment'
  456.     'Identifier'
  457.     'Symbol'
  458.     'String'
  459.     'Integer const'
  460.     'Float const'
  461.     'Hex const'
  462.     'Char const'
  463.     'Preprocessor')
  464.   MarkedBlockStyle = 'Marked block'
  465.   DefaultStyleName = 'Default'
  466.   LexerName = 'FoxPro'
  467. end
  468.